package Test1;

public class test {
    public static void main(String[] args) {
        Integer[] array= {1,23,4,5,6,87};
        Alg<Integer> alg = new Alg<>();
        System.out.println(alg.findMaxVal(array));

        Alg2 alg2 = new Alg2();
        System.out.println(alg2.findMaxVal(array));

        Alg<Person> alg1 = new Alg<>();
    }
}
